package cn.com.server.extend.view;

import java.util.List;

import cn.com.server.entity.Resource;

public class ResourceView extends Resource{

	private static final long serialVersionUID = 1L;
	
	/**
	 * 是否选中
	 */
	private Boolean selected;
	
	/**
	 * 是否展开
	 */
	private Boolean spread = true;
	
	/**
	 * 子菜单
	 */
	private List<ResourceView> children;

	public List<ResourceView> getChildren() {
		return children;
	}

	public void setChildren(List<ResourceView> children) {
		this.children = children;
	}

	public Boolean getSpread() {
		return spread;
	}

	public void setSpread(Boolean spread) {
		this.spread = spread;
	}

	public Boolean getSelected() {
		return selected;
	}

	public void setSelected(Boolean selected) {
		this.selected = selected;
	}
}
